<?php
abstract class Controller {

    public $view;

    function __construct() {
        $this->view = new View(APP_MAIN_LAYOUT);
    }

    abstract public function main();
    
    protected function redirect($url) {
        header("Location: $url");
    }
}
?>
